﻿using Mes.Pendant.Warehousings.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Dynamic.Core;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;

namespace Mes.Pendant.Warehousings
{
    public interface IWarehousingService : IApplicationService
    {
        Task<int> AddWarehousing(WarehousingDto warehousingDto);

        Task<PagedResult> GetWarehousingList(string? warehousingCode, string? warehousingName, bool? state, int page = 1, int limit = 10);

        Task<int> DeleteWarehousing(int id);

        Task<int> UpdateWarehousing(WarehousingDto WarehousingDto);

        Task<WarehousingDto> GetWarehousingInfo(int id);
    }
}
